package com.glory.brepda.entity;

import java.util.ArrayList;

public class WaferEntity {
    private String ACTIONTYPE;
    private String WOID;
    private String MLOTID;
    private String CUSTOMERCODE;
    private String MAINMATTYPE;
    private String INFO;
    private ArrayList<LotList> MLOTLIST;
    private MLOT MLOT;

    public String getINFO() {
        return INFO == null ? "" : INFO;
    }

    public void setINFO(String INFO) {
        this.INFO = INFO;
    }

    public WaferEntity.MLOT getMLOT() {
        return MLOT;
    }

    public void setMLOT(WaferEntity.MLOT MLOT) {
        this.MLOT = MLOT;
    }

    public String getCUSTOMERCODE() {
        return CUSTOMERCODE == null ? "" : CUSTOMERCODE;
    }

    public void setCUSTOMERCODE(String CUSTOMERCODE) {
        this.CUSTOMERCODE = CUSTOMERCODE;
    }

    public String getMAINMATTYPE() {
        return MAINMATTYPE == null ? "" : MAINMATTYPE;
    }

    public void setMAINMATTYPE(String MAINMATTYPE) {
        this.MAINMATTYPE = MAINMATTYPE;
    }

    public String getACTIONTYPE() {
        return ACTIONTYPE == null ? "" : ACTIONTYPE;
    }

    public void setACTIONTYPE(String ACTIONTYPE) {
        this.ACTIONTYPE = ACTIONTYPE;
    }

    public String getWOID() {
        return WOID == null ? "" : WOID;
    }

    public void setWOID(String WOID) {
        this.WOID = WOID;
    }

    public String getMLOTID() {
        return MLOTID == null ? "" : MLOTID;
    }

    public void setMLOTID(String MLOTID) {
        this.MLOTID = MLOTID;
    }

    public ArrayList<LotList> getMLOTLIST() {
        if (MLOTLIST == null) {
            return new ArrayList<>();
        }
        return MLOTLIST;
    }

    public void setMLOTLIST(ArrayList<LotList> MLOTLIST) {
        this.MLOTLIST = MLOTLIST;
    }

    public static class LotList{
        private String OBJECTRRN;
        private String MLOTID;
        private String MAINQTY;
        private String MATERIALNAME;
        private String MATERIALTYPE;

        public LotList(String OBJECTRRN){
            this.OBJECTRRN = OBJECTRRN;
        }

        public String getOBJECTRRN() {
            return OBJECTRRN == null ? "" : OBJECTRRN;
        }

        public void setOBJECTRRN(String OBJECTRRN) {
            this.OBJECTRRN = OBJECTRRN;
        }

        public String getMLOTID() {
            return MLOTID == null ? "" : MLOTID;
        }

        public void setMLOTID(String MLOTID) {
            this.MLOTID = MLOTID;
        }

        public String getMAINQTY() {
            return MAINQTY == null ? "" : MAINQTY;
        }

        public void setMAINQTY(String MAINQTY) {
            this.MAINQTY = MAINQTY;
        }

        public String getMATERIALNAME() {
            return MATERIALNAME == null ? "" : MATERIALNAME;
        }

        public void setMATERIALNAME(String MATERIALNAME) {
            this.MATERIALNAME = MATERIALNAME;
        }

        public String getMATERIALTYPE() {
            return MATERIALTYPE == null ? "" : MATERIALTYPE;
        }

        public void setMATERIALTYPE(String MATERIALTYPE) {
            this.MATERIALTYPE = MATERIALTYPE;
        }
    }

    public class MLOT {
        private String OBJECTRRN;
        private String MLOTID;
        private String MAINQTY;
        private String SUBQTY;
        private String MATERIALNAME;
        private String MATERIALDESC;
        private String MATERIALTYPE;
        private String PARTNERLOTID;
        private String RESERVED1;
        private String RESERVED5;
        private String UOMID;

        public String getMATERIALDESC() {
            return MATERIALDESC == null ? "" : MATERIALDESC;
        }

        public void setMATERIALDESC(String MATERIALDESC) {
            this.MATERIALDESC = MATERIALDESC;
        }

        public String getUOMID() {
            return UOMID == null ? "" : UOMID;
        }

        public void setUOMID(String UOMID) {
            this.UOMID = UOMID;
        }

        public String getOBJECTRRN() {
            return OBJECTRRN == null ? "" : OBJECTRRN;
        }

        public void setOBJECTRRN(String OBJECTRRN) {
            this.OBJECTRRN = OBJECTRRN;
        }

        public String getMLOTID() {
            return MLOTID == null ? "" : MLOTID;
        }

        public void setMLOTID(String MLOTID) {
            this.MLOTID = MLOTID;
        }

        public String getMAINQTY() {
            return MAINQTY == null ? "" : MAINQTY;
        }

        public void setMAINQTY(String MAINQTY) {
            this.MAINQTY = MAINQTY;
        }

        public String getSUBQTY() {
            return SUBQTY == null ? "" : SUBQTY;
        }

        public void setSUBQTY(String SUBQTY) {
            this.SUBQTY = SUBQTY;
        }

        public String getMATERIALNAME() {
            return MATERIALNAME == null ? "" : MATERIALNAME;
        }

        public void setMATERIALNAME(String MATERIALNAME) {
            this.MATERIALNAME = MATERIALNAME;
        }

        public String getMATERIALTYPE() {
            return MATERIALTYPE == null ? "" : MATERIALTYPE;
        }

        public void setMATERIALTYPE(String MATERIALTYPE) {
            this.MATERIALTYPE = MATERIALTYPE;
        }

        public String getPARTNERLOTID() {
            return PARTNERLOTID == null ? "" : PARTNERLOTID;
        }

        public void setPARTNERLOTID(String PARTNERLOTID) {
            this.PARTNERLOTID = PARTNERLOTID;
        }

        public String getRESERVED1() {
            return RESERVED1 == null ? "" : RESERVED1;
        }

        public void setRESERVED1(String RESERVED1) {
            this.RESERVED1 = RESERVED1;
        }

        public String getRESERVED5() {
            return RESERVED5 == null ? "" : RESERVED5;
        }

        public void setRESERVED5(String RESERVED5) {
            this.RESERVED5 = RESERVED5;
        }
    }
}
